﻿using System;

namespace VisionCloud.Domain.DtoModel.Ms
{
    public class FileUploadDto
    {
        public Guid Id { get; set; }
        public DateTime DtBegin { get; set; }
        public DateTime DtEnd { get; set; }

        public string FileHash { get; set; }

        /// <summary>
        /// MB
        /// </summary>
        public decimal FileSize { get; set; }

        /// <summary>
        /// 上传速度(MB/S)
        /// </summary>
        public decimal Speed { get; set; }

        /// <summary>
        /// 耗时（分钟）
        /// </summary>
        public decimal Spend { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedDate { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime LastUpdatedDate { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string LastUpdatedBy { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatedBy { get; set; }

        /// <summary>
        /// 处理结果
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 处理消息
        /// </summary>
        public string Msg { get; set; }

        /// <summary>
        /// 文件完整路径
        /// </summary>
        public string FileFullName { get; set; }

        /// <summary>
        /// 业务主键
        /// </summary>
        public string BusinessId { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessType { get; set; }
    }
}